package com.ross.springboot.service;

import com.github.pagehelper.PageInfo;
import com.ross.springboot.entity.User;
import com.ross.springboot.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ross
 * @since 2020-07-24
 */
public interface IUserService extends IService<User> {
    PageInfo<User> selectByPage(User user, int start, int length);

    User selectByUsername(String username);

    void delUser(Integer userid);
}
